import request from "@/request";

export const getComments = function <U>(id: string): Promise<U> {
  return request({
    method: "get",
    url: "api/comments/list/" + id,
  });
};
